<template>
    <!-- html -->
    <car/>
</template>

<script>
import car from './components/car.vue'

    // js or ts
    export default {
        name: 'app', // 组件名称
        components:{car}
    }
</script>

<style scoped>
    /* 样式 */
    .car{
        color:rebeccapurple;
        box-shadow: 0 0 10px;
        background-color: skyblue;
        border-radius: 10px;
        padding: 20px;
        font-size: 20px;
    }
</style>